package com.auth.service.api;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author:RenPu
 * @Date: 2020/10/28 18:56
 * @Version: 1.0
 * @description:
 */


public class AuthResponseResult {

    private Account account;

    private Long code;

    public AuthResponseResult(Account account, Long code) {
        this.account = account;
        this.code = code;
    }

    public AuthResponseResult() {
    }

    public Account getAccount() {
        return account;
    }

    public void setAccount(Account account) {
        this.account = account;
    }

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "AuthResponseResult{" +
                "account=" + account +
                ", code=" + code +
                '}';
    }
}
